package concurrent.chapter18;

public class Test {
    //main线程
    public static void main(String[] args) {
        //有专门的线程执行gc()
        //System.gc();

        ActiveObject activeObject = ActiveObjectFactory.createActiveObject();
        new MakerClientThread(activeObject, "Alice").start();
        new MakerClientThread(activeObject, "Bobby").start();
        new DisplayClientThread("Chris", activeObject).start();
    }
}
